<div class="view_pindex" hn-base>
	<div ng-if="ishn==1" class="userTitle" style="background: #FEE1E6;">
		<div class="header" >
			<img ng-src="{{data.matchmaker.headimgurl}}" alt="" />
		</div>
		<div class="text">
			<b>{{data.matchmaker.nickName}}</b>
			<p>
				账户金额（元）：<i>¥{{data.matchmaker.balance?data.matchmaker.balance:'0'}}</i>
			</p>
			<div class="btn_right">
				<a ui-sref="withdraw" class="getreg">提现</a>
			</div>
		</div>
	</div>
	<div ng-if="ishn==0" class="userTitle" style="background: #FEE1E6;">
		<div class="header" >
			<img ng-src="{{data.headimgurl}}" alt="" />
		</div>
		<div class="text">
			<b>{{data.nickName}}</b>
			&nbsp;
			<span class="gender man" ng-if="data.gender==1"></span>
			<span class="gender female" ng-if="data.gender==2"></span>
			<p>
				剩余配对次数：{{data.surplus?data.surplus:0}}次
			</p>
			<div class="btn_right">
				<a ui-sref="recharge" class="getreg" >充值</a>
			</div>
		</div>
	</div>
	<div class="codemain" style="margin-top:1rem;border-radius:0.5rem;">
		<h2 class="title_account" ng-if="ishn==0">充值明细:</h2>
		<h2 class="title_account" ng-if="ishn==1">收入明细:</h2>
		<table class="table table_account" ng-if="loveMe.data.results">
			<thead>
				<tr ng-if="ishn==0">
					<th>充值时间</th>
					<th>充值金额</th>
					<th>配对次数</th>
					<th>有效期</th>
				</tr>
				<tr ng-if="ishn==1">
					<th>奖励时间</th>
					<th>奖励金额</th>
					<th>奖励来源</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="l in loveMe.data.results" ng-if="ishn==0">
					<th>{{l.createTime | jsonDate:'yyyy-MM-dd'}}</th>
					<th>¥{{l.money}}</th>
					<th>{{l.quota-l.status}}</th>
					<th>{{l.endTime | jsonDate:'yyyy-MM-dd'}}</th>
				</tr>
				<tr ng-repeat="l in loveMe.data.results" ng-if="ishn==1">
					<th>{{l.createTime | jsonDate:'yyyy-MM-dd'}}</th>
					<th>¥{{l.cash}}</th>
					<th>{{l.description}}</th>
				</tr>
			</tbody>
		</table>
		<div sq-dropmoreajax="{type:'json',module:'hn',method:account.type,defaultLimit:'10',data:loveMe}"></div>
		<div ng-click="loveMe.dropData()" class="droptext">{{loveMe.text}}</div>
	</div>
	
</div>